/**
 * Created by jianglinjie on Thu Sep 21 2017
 * @flow
 */
'use strict';
import type { ILoginStrategy } from './ILoginStrategy';
import AccountEncryptPwdStrategy from './AccountEncryptPwdStrategy';
import PhoneCaptchaStrategy from './PhoneCaptchaStrategy';
import { LoginType } from '../../../constants';

let strategyMap: Map<string, ILoginStrategy> = new Map();
strategyMap.set(LoginType.ACCOUNT_ENCRYPTPWD, new AccountEncryptPwdStrategy());
strategyMap.set(LoginType.PHONE_CAPTCHA, new PhoneCaptchaStrategy());

export default strategyMap;

